home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
rjs.lha
/
RJS
/
CmdLine
/
src
/
makefile
< prev
next >
Wrap
Makefile
|
1991-06-14
|
650b
|
47 lines
#
#
# Makefile
#
CC=CC
YFLAGS = -d
.SUFFIXES: .o .c .y .l .s .C
#
PROG=qtest
#
# C++ rules
#
.C.o:
$(CC) $(CFLAGS) -c $*.C
.C.a:
$(CC) -c $(CFLAGS) $<
ar rv $@ $*.o
rm -f $*.o
RJSROOT=../..
RJSDIR=$(RJSROOT)/RJS
RLIB = $(RJSDIR)/$(MACHINE)/libRJS.a
CFLAGS= -I$(RJSROOT)
.PRECIOUS: $(RLIB)
$(RLIB) : $(RLIB)(CmdLine.o) \
$(RLIB)(CmdLineWord.o) \
$(RLIB)(CmdOpt.o) \
$(RLIB)(CmdOpt_boolean.o) \
$(RLIB)(CmdOpt_int.o) \
$(RLIB)(CmdOpt_double.o) \
$(RLIB)(CmdOpt_string.o) \
$(RLIB)(CmdOpt_int_range.o) \
$(RJSDIR)/CmdLine.h
ranlib $(RLIB)
$(RJSDIR)/CmdLine.h: CmdLine.h
cp CmdLine.h $(RJSDIR)
clean:
rm -f *.o core